package model.agent.service.Impl;

import model.agent.entity.Agent;
import model.agent.entity.Personnel;
import model.agent.mapper.AgentMapper;
import model.agent.mapper.PersonnelMapper;
import model.agent.service.IPersonnelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by Administrator on 2019/6/27.
 */
@Service
@Transactional
public class PersonnelServiceImpl implements IPersonnelService {
    @Autowired
    private PersonnelMapper mapper;


    @Override
    public List<Personnel> find(String id) {
        return mapper.find(id);
    }
}
